﻿using DotNetCore.CAP;

namespace CAPHandlerAttributeDemo.Api.EventHandlers;

public abstract class EventSubscribe
{

}

public interface IEventHandler<T> : IEventHandler
    where T : EventSubscribe
{
    void Handle(T eventSubscribe);
}

public interface IEventHandler : ICapSubscribe
{

}
